@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="personnalTitle" name="personnalTitle" value="${item.level}">
            <input type="hidden" id="level" name="level" value="${item.level}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    @if('000000' == item.empCode){
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="ExpertTalentsPointsInfoDlg.selectEmp($(this))" underline="true"/>
                    @}else{
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="ExpertTalentsPointsInfoDlg.selectEmp()" disabled="true" underline="true"/>
                    @}

                    <#select id="levelCode" name="级别" value="${item.levelCode}" underline="true">
                        @ for(level in levels!){
                        <option value="${level.code}">${level.name}</option>
                        @}
                    </#select>
                    <#select id="evaluationResult" value="${item.evaluationResult}" name="考评结果" underline="true">
                        @ for(evaluationResult in evaluationResults!){
                        <option value="${evaluationResult.name}">${evaluationResult.name}</option>
                        @}
                    </#select>

                    <#TimeConInput id="engageDate" value="${item.engageDate}" name="聘任时间" isTime="false" pattern="yyyy-MM-dd" underline="true"/>
                    <#YearConInput id="year" name="年度" value="${item.year}" isTime="false" underline="true"/>
                </div>

                <div class="col-sm-6">
                    <#input id="empName" name="员工姓名" value="${item.empName}" disabled="true"  underline="true"/>

                    <#select id="personnalTitleCode" name="人才称号" value="${item.personnalTitleCode}" underline="true">
                        @ for(title in personnalTitles!){
                        <option value="${title.gradeCode}" integral="${title.integral}">${title.grade}</option>
                        @}
                    </#select>
                    <#input id="approvalFile" name="批准文件" value="${item.approvalFile}" underline="true"/>
                    <#input id="approvalUnit" name="审批单位" value="${item.approvalUnit}" underline="true"/>
                    <#input id="integral" disabled="true" name="积分" value="${item.integral}" underline="true"/>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ExpertTalentsPointsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ExpertTalentsPointsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/train/expertTalentsPoints/expertTalentsPoints_info.js?v=${version}"></script>
@}
